package com.zb.smbmsc.service.user;

import com.zb.smbmsc.pojo.Role;
import com.zb.smbmsc.pojo.User;

import java.sql.Connection;
import java.util.List;

public interface UserService {

    User login(String userCode, String password);

    boolean updatePwd(int userId, String userPassword);

    int selectUserCount(String userName, String userRole);

    List<User> selectUserList(String userName, String userRole, int currentPageNo, int pageSize);

    List<Role> getRoleList();
}
